<template>
  <div>
    hello world
    <p>id: {{ routeMsg.id }}</p>
    <p>title: {{ routeMsg.title }}</p>
    <p>name: {{ routeMsg.name }}</p>
    <p>path: {{ routeMsg.path }}</p>
    <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      routeMsg: {
        id: '',
        title: '',
        name: '',
        path: ''
      }
    }
  },
  created() {},
  mounted() {
    this.routeMsg = {
      id: this.$route.meta.menuId,
      title: this.$route.meta.title,
      name: this.$route.name,
      path: this.$route.path
    }
  },

  methods: {}
}
</script>

<style lang="scss" scoped></style>
